#include "Humans.h"
#include <iostream>
using namespace std;
Humans::~Humans()
{
    //dtor
    cout<<"Huy doi tuong";
}
Humans::Humans(string n, int a)
{
   cout<<"Vua su dung ham tao co tham so";
   name = n;
   age = a;
}
Humans::Humans(const Humans &h)
{
    name  = h.name;
    age = h.age;
    cout<<"Vua khoi tao sao chep";
}
void Humans::HienThi()
{
 cout<<endl<<name<<"   "<<age;
}
// Getter
        string Humans::getName() const{
            return name;
        }
        int Humans::getAge() const{
            return age;
        }

        // Setter

        void Humans::setName(string n)
        {
            name = n;
        }
        void Humans::setAge(int a){
            age = a;
        }
